package com.akk.module.avs.mapper.dao;

import com.akk.module.access.entity.AccessBind;
import com.akk.module.avs.model.response.AvsPayAccessRes;
import com.akk.module.avs.model.response.AvsPayAllAccessRes;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AvsPayAccessDao {

    List<AvsPayAccessRes> queryListWithAccessName();

    List<AvsPayAllAccessRes> allAccess();

    List<AvsPayAccessRes> payAccessRestList();

    List<AccessBind> findByPayerIdAndGateway(@Param("payerId") String payerId,@Param("gateway") String gateway);
}
